package band.wukong.practice.javase.core.util;

import java.util.StringTokenizer;

/**
 * Desc:
 * Author: sunjs
 * Date: 2009-11-13 14:32:45
 */
public class TestStringTokenizer {
    public static void main(String[] args) {
        String s = "身在闹市中，耳无车马喧";
        StringTokenizer st = new StringTokenizer(s, "，");
        while (st.hasMoreTokens()) {
            String str = st.nextToken();
            System.out.println(str);
        }
    }
}
